using System;
using System.Collections.Generic;
using VOL.Entity.DomainModels;

namespace MyMES.Dto
{
    /// <summary>
    /// 物料类型树形结构DTO
    /// </summary>
    public class MaterialTypeTreeDto
    {
        /// <summary>
        /// 物料类型ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string ClassifyName { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 排序ID
        /// </summary>
        public int? OrderById { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 子分类列表
        /// </summary>
        public List<MaterialTypeTreeDto> Children { get; set; } = new List<MaterialTypeTreeDto>();
    }
} 